package com.hd.pzhwlxt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
@create: 2022-09-24 9:47
@author: 怀念天空
@Description: 
*/

/**
 * 物资单价信息基本表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "materialprice_tbl")
public class Materialprice {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物资编号
     */
    @TableField(value = "material_id")
    private Integer materialId;

    /**
     * 进价
     */
    @TableField(value = "in_price")
    private Double inPrice;

    /**
     * 售价
     */
    @TableField(value = "out_price")
    private Double outPrice;

    /**
     * 供应商
     */
    @TableField(value = "supplier")
    private String supplier;
}